package org.dallasrowing.logbook.ui.view;

import java.util.Date;
import java.util.List;

import org.dallasrowing.model.Boat;
import org.dallasrowing.model.DamageEntry;
import org.eclipse.swt.widgets.Shell;

public interface ReportNewDamageWindow {

	void openReportNewDamageWindow(Shell parent);

	void populateBoats(List<Boat> boats);

	void setCreateEntryDate(Date createDate);

	void closeWindow();

	void setDamagesList(List<DamageEntry> damages);

	void setCreateNewEntryListener(Runnable with);

	void enableAndWipeAllTextFields();

	void setSelectDamageListener(Runnable with);

	int getSelectedExistingDamage();

	void populateCurrentDamage(DamageEntry with, int boatIndex);

	void setSaveButtonListener(Runnable with);

	DamageEntry getDamageData();

	boolean getDamageRepairedFlag();
}
